﻿using MyToDo.Shared.Dtos;
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Serial_Communication.Common.Models
{
    public class TransitionDtos:BaseDto
    {
        private string textoutputstring;

        /// <summary>
        /// 输入字符串
        /// </summary>
        public string textOutputString
        {
            get { return textoutputstring; }
            set { textoutputstring = value; OnPropertyChanged(); }
        }

        private string textinputstring;

        /// <summary>
        /// 输出字符串
        /// </summary>
        public string textInputString
        {
            get { return textinputstring; }
            set { textinputstring = value; OnPropertyChanged(); }
        }

        private string textcrc16check;

        /// <summary>
        /// CRC16校验结果
        /// </summary>
        public string textCRC16Check
        {
            get { return textcrc16check; }
            set { textcrc16check = value; OnPropertyChanged(); }
        }

        private string textxorcheck;

        /// <summary>
        /// XOR校验结果
        /// </summary>
        public string textXORCheck
        {
            get { return textxorcheck; }
            set { textxorcheck = value; OnPropertyChanged(); }
        }

        private string textfcscheck;

        /// <summary>
        /// FCS校验结果
        /// </summary>
        public string textFCSCheck
        {
            get { return textfcscheck; }
            set { textfcscheck = value; OnPropertyChanged(); }
        }

        private string textchecksumcheck;

        /// <summary>
        /// LRC校验结果
        /// </summary>
        public string textCheckSumCheck
        {
            get { return textchecksumcheck; }
            set { textchecksumcheck = value; OnPropertyChanged(); }
        }

        private string textlrccheck;

        /// <summary>
        /// LRC校验结果
        /// </summary>
        public string textLRCCheck
        {
            get { return textlrccheck; }
            set { textlrccheck = value; OnPropertyChanged(); }
        }
    }
}
